actionbar: Fix the css node docs
authorAlexander Mikhaylenko <alexm@gnome.org>
Sun, 9 May 2021 11:55:48 +0000 (16:55 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Sun, 9 May 2021 11:55:48 +0000 (16:55 +0500)
gtk/gtkactionbar.c

index e82ed3d7c0d02b1fed651f31329bd665c8eeeba7..7bbcddfae84356a9dd223e3fb302633a31d6b9f3 100644 (file)
  *
  * # CSS nodes
  *
- * `GtkActionBar` has a single CSS node with name actionbar.
+ * ```
+ * actionbar
+ * ╰── revealer
+ *     ╰── box
+ *         ├── box.start
+ *         │   ╰── [start children]
+ *         ├── [center widget]
+ *         ╰── box.end
+ *             ╰── [end children]
+ * ```
+ *
+ * A `GtkActionBar`'s CSS node is called `actionbar`. It contains a `revealer`
+ * subnode, which contains a `box` subnode, which contains two `box` subnodes at
+ * the start and end of the action bar, with `start` and `end style classes
+ * respectively, as well as a center node that represents the center child.
+ *
+ * Each of the boxes contains children packed for that side.
  */
 
 typedef struct _GtkActionBarClass         GtkActionBarClass;